import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import { Provider } from 'react-redux'
import { store } from './store'

ReactDOM.render(
  // 通过 provide 组件  将 store 放在全局的组件都可以拿到的地方
  <Provider store={store}><App /></Provider>,
  document.getElementById('root')
);